package com.cmccgz.udacs_landlord_webapp.update;

import android.os.Environment;

import com.lidroid.xutils.BitmapUtils;
import com.lidroid.xutils.HttpUtils;

public class XutilsInstance {
	private static HttpUtils httUtils = null;
	private static BitmapUtils bitmapUtils = null;
	/** 本地缓存数据根目录 */
	public static final String ROOTPATH = Environment.getExternalStorageDirectory() + "/data/mobileportal/";
	/** 下载保存地址 */
	public static final String DOWNLOAD_ROOT_PATH = ROOTPATH + "download/";

	public static HttpUtils getHttpUtils() {
		if (httUtils == null) {
			httUtils = new HttpUtils();
		}
		return httUtils;
	}

}
